package edu.zjut.hjg.saas.biz.service;

import java.util.Date;

import edu.zjut.hjg.saas.biz.model.Consumption;
import edu.zjut.hjg.saas.biz.support.Paginated;

public interface ConsumptionService {
    Integer create(Consumption consumption);

    Paginated<Consumption> listByTenantId(Integer tenantId, int pageSize, int page);

    public Paginated<Consumption> listByDateRang(Date fromDate, Date toDate, int pageSize, int page);
}
